<style>
    .table th{
        text-align: center;
        vertical-align:middle;
    }
    .table td{
        text-align: center;
        vertical-align:middle;
    }
</style>
<div class="row-fluid listcontent">
    <div class="span12">
        <div class="portlet box grey">
            <div class="portlet-title">
                <div class="caption">发布信息</div>
            </div>
            <div class="portlet-body">
                <table id="basicinfo" class="table table-hover table-bordered">
                    <thead>
                        <th>序号</th>
                        <th>ID</th>
                        <th>标题</th>
                        <th>图片</th>
                        <th>内容</th>
                        <th>浏览量</th>
                        <th>发布时间</th>
                    </thead>
                    <tbody>
                    {if(count($list)>0)}
                    {volist name='list' id='val' k='key'}
                    <tr class="odd gradeX ">
                        <td>{:xuHao($key,$pages)}</td>
                        <td>{$val.a_id}</td>
                        <td>{$val.a_title}</td>
                        <td>
                            <img src="{$val.a_image}" alt=""  style="width:100px;height:100px">
                        </td>
                        <td width="200px">{$val.a_content}</td>
                        <td>{$val.a_num}</td>
                        <td>{$val.a_createtime}</td>
                    </tr>
                    {/volist}
                    {else/}
                    <tr>
                        <td colspan="16"><span style="margin-left: 50px">暂无数据</span></td>
                    </tr>
                    {/if}
                    </tbody>
                </table>
                {if(!empty($list))}
                {$list->render()}
                {/if}
                <div class="submit-btn">
                    <a href="/admin/member/index" class="btn green">返回</a>
                </div>
            </div>
        </div>
    </div>
</div>
